package com.base.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.base.po.voip.NewsAllocation;
import com.base.po.voip.NewsAllocationExample;
import com.base.po.voip.NewsInsertRecord;
import com.base.po.voip.NewsInsertRecordExample;

public interface NewsInsertRecordService {
	 int countByExample(NewsInsertRecordExample example);

	 int deleteByExample(NewsInsertRecordExample example);

	 int insert(NewsInsertRecord record);

	 int insertSelective(NewsInsertRecord record);

	 List<NewsInsertRecord> selectByExample(NewsInsertRecordExample example);
	    
	 List<NewsInsertRecord> selectByParentid(String parentid);
	    
	 NewsInsertRecord selectByPrimaryKey(String id);

	 int updateByExampleSelective(@Param("record") NewsInsertRecord record, @Param("example") NewsInsertRecordExample example);

	 int updateByExample(@Param("record") NewsInsertRecord record, @Param("example") NewsInsertRecordExample example);
}